home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-09-27 | 1.3 KB | 63 lines |
- #Makefile for the amiga port of origami
- #Version 1.6.92.1
- #
- SC= sc
- SLINK= slink
- #
- #FLAGS1 : compiler options for compiler behaviour
- FLAGS1= ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
- #
- #FLAGS2 : include options
- FLAGS2= IDIR=origami:
- #
- #FLAGS3 : define options
- FLAGS3= DEF=MOUSY DEF=AMIGA DEF=FOLDER
- #
- #FLAGS4 : additional options
- FLAGS4= OPTIMIZE OptComp=0 OptInl OptInlocal Optsize
- #
- #DEBUG_FLAGS : define DEBUG for DEGUB usage
- #DEBUG_FLAGS= DEBUG=symbolflush
- #DEB_LD_FLAGS= ADDSYM
- #
- #FLAGS5 : link options for linker behaviour
- FLAGS5= BATCH
- #
- #FLAGS6 : library options
- FLAGS6= LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
-
- SCFLAGS= ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
- LDFLAGS= $(FLAGS5) $(FLAGS6) $(DEB_LD_FLAGS)
-
- .c.o:
- $(SC) $(SCFLAGS) $*
-
- OBJS= main.o
-
- #{{{}}}
- #{{{ -> all
- all: dirfold
- #}}}
-
- #{{{ dirfold
- dirfold: $(OBJS)
- $(slink) <with <
- from lib:c.o+$(OBJS) $(LDFLAGS) to dirfold
- <
- #}}}
-
- #{{{ -> install
- install:
- copy dirfold //bin
- #}}}
-
- #{{{ -> reset
- reset: clean
- -delete dirfold smakefile
- #}}}
-
- #{{{ -> clean
- clean:
- -delete \#?.o \#?.lnk \#?.tmp \#?.info
- #}}}
-